package net.csdn.business.notify.common.config;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import net.csdn.business.notify.common.model.vo.NotifyTargetVO;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;


/**
 * @ClassName TargetTypeConfig
 * @Description TODO
 * @Author zhangyl
 * @Date 2023/12/7 16:17
 */
@Getter
@Setter
@NoArgsConstructor
@Component
@RefreshScope
@ConfigurationProperties(prefix = "notify.target")
public class TargetTypeConfig {
    private List<NotifyTargetVO> list = new ArrayList<>();
}
